// 服务端口号
export const port = 8000

// socket 端口号
export const socketPort = 8888

// 统一所有路由前缀
export const prefix = '/api/v1'

// jwt 秘钥
export const JWT_SECRET = '^_^smiling~';

// 开启服务时输出的字符串
// export const logString = `
// -------------------------------------------------------------------
// |🚀 socket.io server running at ${socketPort} port...                      |
// |🚀 express server start running at ${port} port...                  |
// |👋 API base URL is: http://127.0.0.1:${port}                        |
// |🏄 login on http://http://127.0.0.1:${port}/api/v1/user/allow/login |
// -------------------------------------------------------------------
// `


export const logString = `
开发者: CoderBin
项目创建日期: 2022/9/5
服务启动日期: ${new Date().toLocaleString()}
服务启动状态信息: server running success！
----------------------------------
Express server port: ${port}
Socket server port : ${socketPort}
API base URL is http://127.0.0.1:${port}${prefix}
Start your coding...
`

